GdkSeat: Use g_intern_static_string() for signal names
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 25 Dec 2015 13:23:20 +0000 (14:23 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 25 Dec 2015 13:26:58 +0000 (14:26 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=759857

gdk/gdkseat.c

index 14cb99cf14fd35b5dffb62ec379c3a540ff66142..7aca90df585764ab0f2c17cfec4034baf201282b 100644 (file)
@@ -117,7 +117,7 @@ gdk_seat_class_init (GdkSeatClass *klass)
    * Since: 3.20
    */
   signals [DEVICE_ADDED] =
-    g_signal_new (P_("device-added"),
+    g_signal_new (g_intern_static_string ("device-added"),
                   G_TYPE_FROM_CLASS (klass),
                   G_SIGNAL_RUN_LAST,
                   G_STRUCT_OFFSET (GdkSeatClass, device_added),
@@ -137,7 +137,7 @@ gdk_seat_class_init (GdkSeatClass *klass)
    * Since: 3.20
    */
   signals [DEVICE_REMOVED] =
-    g_signal_new (P_("device-removed"),
+    g_signal_new (g_intern_static_string ("device-removed"),
                   G_TYPE_FROM_CLASS (klass),
                   G_SIGNAL_RUN_LAST,
                   G_STRUCT_OFFSET (GdkSeatClass, device_removed),